package com.xueyi.aixihu.reqeust;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author hxs
 * @createDate 2023/6/29 15:27
 * @description 审核报表参数
 */
@Data
public class AgreePassAuditReq {
    /**
     * 审核记录id
     */
    @NotNull(message = "参数异常")
    private Integer auditId;

    /**
     * 报表id
     */
    @NotNull(message = "参数异常")
    private Integer id;


    /**
     * 类型
     */
    @NotNull(message = "参数异常")
    private Integer reportType;

    /**
     * 拒绝理由
     */
    @Length(max = 255, message = "太长了~~~")
    private String refuseMsg;


    /**
     * 操作类型 1为同意 2为拒绝
     */
    @NotNull(message = "参数异常")
    private Integer type;
}
